#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>

typedef struct Heap
{
	int* a;
	int size;
	int capacity;
}Heap;

void InitHeap(Heap* ph);
void PushHeap(Heap* ph,int child);
void PopHeap(Heap* ph);